﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace FCP.Data.Migrations
{
    public partial class add_btn_export_limit_qty : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "export_limit_qty",
                table: "t_tree_btn",
                type: "integer",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "export_pre_qty",
                table: "t_tree_btn",
                type: "integer",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "export_limit_qty",
                table: "t_table_btn",
                type: "integer",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "export_pre_qty",
                table: "t_table_btn",
                type: "integer",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "export_limit_qty",
                table: "t_edit_btn",
                type: "integer",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "export_pre_qty",
                table: "t_edit_btn",
                type: "integer",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "export_limit_qty",
                table: "t_custom_btn",
                type: "integer",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "export_pre_qty",
                table: "t_custom_btn",
                type: "integer",
                nullable: false,
                defaultValue: 0);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "export_limit_qty",
                table: "t_tree_btn");

            migrationBuilder.DropColumn(
                name: "export_pre_qty",
                table: "t_tree_btn");

            migrationBuilder.DropColumn(
                name: "export_limit_qty",
                table: "t_table_btn");

            migrationBuilder.DropColumn(
                name: "export_pre_qty",
                table: "t_table_btn");

            migrationBuilder.DropColumn(
                name: "export_limit_qty",
                table: "t_edit_btn");

            migrationBuilder.DropColumn(
                name: "export_pre_qty",
                table: "t_edit_btn");

            migrationBuilder.DropColumn(
                name: "export_limit_qty",
                table: "t_custom_btn");

            migrationBuilder.DropColumn(
                name: "export_pre_qty",
                table: "t_custom_btn");
        }
    }
}
